//
//  WKPopView.h
//  Walk
//
//  Created by cesh on 16/9/21.
//  Copyright © 2016年 cesh. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    PopViewTypeLoading,
    PopViewTypeGoChat,
    PopViewTypeMatchSuccess,
    PopViewTypeQuitChat,
    PopViewTypeQuitRecruit,
    PopViewTypeNotMatchYet,
    PopViewTypeFeedback,
    PopViewTypeFeedbackSuccess,
    PopViewTypeTimeOut,
    PopViewTypeBindSuccess,
    PopViewTypeJustBlur,
    PopViewTypeCanNotRecruitMore,
    PopViewTypeLeftScroll,
    PopViewTypeRightScrool
} PopViewType;

@protocol GoChatProtocal <NSObject>

@optional
- (void)goChatVC;
- (void)quitChat;
- (void)cancelQuitChat;

@end

@interface WKPopView : UIView

@property (strong, nonatomic) UIImageView *centerView;

@property (assign, nonatomic) PopViewType popViewType;

@property (nonatomic, weak) id <GoChatProtocal> delegate;

+ (instancetype)showWithType:(PopViewType)popViewType;
+ (void)dismiss;

@end
